package com.piesat.quake.business.station.service;

import com.piesat.quake.business.station.model.Region;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2022-12-07
 */
public interface RegionService extends IService<Region> {

    void addRegion(Region region);

    void removeRegion(String regionCode);

    void updateRegion(Region region);

    List<Region> findRegionList();

    List<Region> buildTree();

    Region findByCode(String code);

}
